package com.atguigu.service;

import com.atguigu.entity.UserInfo;
import com.atguigu.vo.UserPaidRecordVo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 用户 服务类
 * </p>
 *
 * @author Joe
 * @since 2024-11-14
 */
public interface UserInfoService extends IService<UserInfo> {


    //获取用户是否需要购买的标识
    Map<Long, Boolean> getUserShowPaidMarkOrNot(Long albumId, List<Long> needPayTrackIdList);

    //更新用户支付信息
    void updateUserPaidRecord(UserPaidRecordVo userPaidRecordVo);

    //更新VIP到期失效状态
    void updateVipExpireStatus();
}
